package com.adtec.yxdemo.timedtask;


import com.adtec.yxdemo.filelanding.FileLandService;
import com.jfinal.aop.Inject;
import io.jboot.components.schedule.annotation.Cron;
import lombok.SneakyThrows;

@Cron("*/30 20-21 * * * ")
public class FileLandTask implements Runnable{
    @Inject
    FileLandService fileLandService;
    @SneakyThrows
    @Override
    public void run() {
        fileLandService.creatFile();
    }
}
